<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>OMS - Index</title>
<link rel="stylesheet" type="text/css"
			href="resources/styles/ext-all.css" />
			
			<link href="../resources/styles/ext-all.css" rel="stylesheet" type="text/css"/>
			<link href="../resources/styles/screen.css" rel="stylesheet" type="text/css" />


		<script type="text/javascript" src="./resources/scripts/ext-base.js"></script>
		<script type="text/javascript" src="./resources/scripts/ext-all.js"></script>
		<script type="text/javascript"
			src="./resources/scripts/ext-lang-zh_CN.js"></script>
		<script type="text/javascript" src="./resources/scripts/examples.js"></script>
  
  
  
	<style type="text/css">
	html, body {
        font:normal 12px verdana;
        margin:0;
        padding:0;
        border:0 none;
        overflow:hidden;
        height:100%;
    }
	.x-panel-body p {
	    margin:5px;
	}
    .x-column-layout-ct .x-panel {
        margin-bottom:5px;
    }
    .x-column-layout-ct .x-panel-dd-spacer {
        margin-bottom:5px;
    }
    .settings {
        background-image:url(../shared/icons/fam/folder_wrench.png) !important;
    }
    .nav {
        background-image:url(../shared/icons/fam/folder_go.png) !important;
    }
    #container  {
    position: absolute;
    left: 3px;
    top: 7px;
    font-size: 1.5em;
    
    font-family: 宋体;
    color: #0754A7;
}
    </style>
    
    <script type="text/javascript">
    
    // shorthand
    Ext.onReady(function(){
   var Tree = Ext.tree;
        var root=new Tree.TreeNode({
               id:'tree',
               text:'Root',
               draggable:false //��������ק
                                      //icon:'im2.gif',//�Զ���ڵ�ͼ��

        });
        var node1=new Tree.TreeNode({
        	id:'1',
        	text:'业务管理'
        	});
        	
        var node2=new Tree.TreeNode({
        	id:'2',
        	text:'日常管理'
        	});
        //����г�t�ӵ�Ҷ��   // hrefTarget:'_blank'   �´��ڴ�t��   hrefTarget:"mainFrame",


     var node11=new Tree.TreeNode(
     	{id:'11', 
     	 href:"./project/customer.html",
     	 hrefTarget:"fmain",
     	 text:'营销中心',
     	 leaf:false}
     	 ); 
     	 
    var node111=new Tree.TreeNode(
     	{id:'111', 
     	 href:"./project/AfterService.html",
     	 hrefTarget:"fmain",
     	 text:'售后服务',
     	 leaf:false}
     	 ); 
    var node222=new Tree.TreeNode(
     	{id:'222', 
     	 href:"./project/pact.html",
     	 hrefTarget:"fmain",
     	 text:'合同管理',
     	 leaf:false}
     	 ); 
     	 
   //  <a href="#"  onclick="javascript:openf('./project/customer.html');return true;">
       node1.appendChild
       (
       	[node11,node111,node222]
       	)
       	;
       	
       //���һ��Ҷ��
       var node21=new Tree.TreeNode(
       	{id:'21',
       	 href:"./project/DailyReport.html",
     	 hrefTarget:"fmain",
       	text:'日报',
       	leaf:false}
       	);
       var node22=new Tree.TreeNode(
       {id:'22',
        href:"./project/Message.html",
     	 hrefTarget:"fmain",
       text:'消息寻呼',
       leaf:true}
       );
       
        
               
        node2.appendChild(
        	[
        	node21,
        	node22
        	]);
        	
        	
        	
    var node4=new Tree.TreeNode({
               id:'4',
               text:'参数设置'              
               });
          
               
      var node401=new Tree.TreeNode(
       {id:'401',
        href:"./project/SystemParameters.html",
     	 hrefTarget:"fmain",
       text:'系统参数设置',
       leaf:true}
       );          
         var node402=new Tree.TreeNode(
       {id:'402',
        href:"./project/BusinessParameters.html",
     	 hrefTarget:"fmain",
       text:'业务参数设置',
       leaf:true}
       );      	
         var node403=new Tree.TreeNode(
       {id:'403',
        href:"./project/ModifyPassword.html",
     	 hrefTarget:"fmain",
       text:'修改密码',
       leaf:true}
       ); 
         var node404=new Tree.TreeNode(
       {id:'404',
       text:'权限设置',
       leaf:true}
       );	
        	
        	 node4.appendChild(
        	[
        	node401,
        	node402,
        	
        	node403
        	
        	]);
        root.appendChild([node1,node2,node4]);
        var treePanel=new Tree.TreePanel({
                 el:'tree2',
                 useArrows:false,
                 autoScroll:true,
                 animate:true,
                 enableDD:true,
                //�Ƿ���ʾ��ڵ� rootVisible:false,111
                 containerScroll: true});
        treePanel.setRootNode(root);
        treePanel.render();
        root.expand();
});

    
    </script >
    
    
    </head>
    
    
    
    <body>
    
    <div id="tree"></div>
	<div id="tree2"></div>
    
    
    </body>
    
	
</html>